﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="JgMain_BZ.aspx.cs" Inherits="JiGouManage_JgMain_BZ" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >


<script language="javascript">	
function  openuser1()  
{  
    var num=Math.random();
    window.showModalDialog("JgMain_BZ_add.aspx?tmp="+num+"&id=<%=Request.QueryString["id"]%> ","window","dialogWidth:650px;DialogHeight=410px;status:no;scroll=yes;help:no");                
}


</script>  

<head id="Head1" runat="server">
    <title>河南煤化鹤煤集团安全档案管理系统</title>
        <LINK href="../css/public.css" type="text/css" rel="stylesheet">
         <LINK href="../css/style_oa_30.css" type="text/css" rel="stylesheet">
           <script src="../public/public.js" type="text/javascript"></script>
</head>
<body  bgcolor="#E7E7E7" >
    <form id="form1" runat="server">
    <!--#include file="../public/pleasewait.htm"-->
  
    <script language="javascript" src="../public/DateSelect.js"></script>

<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td>
              </td>
        </tr>
      </table>
      <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="35">
           <div id="printshow1">
          <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="1"></td>
                <td valign="top"> <table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td width="3%"><img src="../images/top_3.gif" ></td>
                       <td width="81%" valign="bottom"><a href="../main_d.aspx"  class="line_b">工作台</a> >>&nbsp; 机构管理 >>&nbsp; 新增岗位编制</td>
                      <td width="81%">&nbsp;</td>
                    </tr>
                  </table>
                  <table width="100%" height="6" border="0" cellpadding="0" cellspacing="0" background="../images/lingbg.jpg">
                    <tr> 
                      <td></td>
                    </tr>
                  </table></td>
                <td width="1"></td>
              </tr>
            </table>
             </div>
            </td>
        </tr>
      </table>
      <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="35">
            <div id="printshow2"> 
          <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="1"></td>
                <td valign="top"> 
           <table align="center" background="../images/bg0003.gif" border="0" cellpadding="0"
                        cellspacing="0" width="100%">
                        <tr>
                            <td width=30% style="height: 26px">
                                <button class="btn4off" 
                                    type="button">
                                    <font class="shadow_but">岗位编制</font></button></td>
                              <td style="height: 26px" align="right" > 
                                  <a href="javascript:void(0)"></a></td>
                        </tr>
                    </table>
                </td>
                <td width="1"></td>
              </tr>
            </table>
            </div>
            <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="17">
                        &nbsp;</td>
                    <td valign="top" >
                  
                        <table align="center" bgcolor="#999999" border="0" cellpadding="4" cellspacing="1"
                            width="100%" id="tableprint">
                            <tr>
                                <td align="right" bgcolor="#cccccc" class="cpx12hei" height="17" nowrap="nowrap"
                                    width="17%">
                                    单位名称：</td>
                                <td bgcolor="#efefef" class="cpx12hei" height="17" colspan="3" width="83%">
                                    <asp:TextBox ID="Name" runat="server" Width="99%" ReadOnly="True"></asp:TextBox></td>
                            </tr>
                            
                            <tr>
                                <td bgcolor="#efefef" class="cpx12hei" colspan="4" height="17">
                                    <img src="../images/menu/work_plan.gif" />
                                    <asp:LinkButton ID="LinkButton1" runat="server">新增岗位编制</asp:LinkButton>
                                    </td>
                            </tr>
                            <tr>
                                <td bgcolor="#efefef" class="cpx12hei" colspan="4" height="17">
                                  <div id="Div1" class="mainDiv">
                                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#4D77B1"
                                        BorderColor="#4D77B1" BorderStyle="None" BorderWidth="1px" CellPadding="5" CellSpacing="1"
                                        GridLines="None" OnRowCommand="GridView1_RowCommand" OnRowDataBound="GridView1_RowDataBound"
                                        PageSize="12" Style="font-size: 12px" Width="100%" OnPageIndexChanging="GridView1_PageIndexChanging" AllowPaging="True">
                                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                                        <Columns>
                                            <asp:BoundField DataField="GangWei" HeaderText="岗位" SortExpression="GangWei">
                                                <ItemStyle Wrap="False" />
                                                <HeaderStyle BackColor="#94C3CE" ForeColor="DarkSlateGray" Wrap="False" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="BianZhiS" HeaderText="编制数" SortExpression="BianZhiS">
                                                <ItemStyle Wrap="False" />
                                                <HeaderStyle BackColor="#94C3CE" ForeColor="DarkSlateGray" Wrap="False" />
                                            </asp:BoundField>
                                            <asp:TemplateField HeaderText="相关操作">
                                                <HeaderStyle BackColor="#94C3CE" ForeColor="DarkSlateGray" Width="100px" Wrap="False" />
                                                <ItemTemplate>
                                                <asp:LinkButton ID="Xiugai" runat="server" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ID") %>'  CommandName="Xiugai">修改</asp:LinkButton>&nbsp;&nbsp;<asp:LinkButton ID="ShanChu" runat="server" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ID") %>'  CommandName="ShanChu">删除</asp:LinkButton> <asp:Label ID="rowid" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "id") %>'　 Visible="False" Width="0px"></asp:Label>
                                                </ItemTemplate>
                                                <ItemStyle HorizontalAlign="Center" Width="100px" Wrap="False" />
                                            </asp:TemplateField>
                                  
                                        </Columns>
                                        <RowStyle BackColor="#FBFCFE" ForeColor="Black" />
                                        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="DarkTurquoise" ForeColor="Black" HorizontalAlign="Right" />
                                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" Wrap="False" />
                                        <AlternatingRowStyle BackColor="#E6EDF7" />
                                        <EmptyDataTemplate>
                                            <div align="center">
                                                <font color="white">无相关数据！</font></div>
                                        </EmptyDataTemplate>
                                    </asp:GridView>
                                    </div>
                                </td>
                            </tr>
                             <%=showjg%>           
                             <tr  id="printshow3">
                                <td align="center" bgcolor="#efefef" class="cpx12hei" colspan="4" height="26" width="33%">
                                    	<div align="center"><FONT face="宋体">
                                            <asp:Button ID="Button4" runat="server" CssClass="button_blue" OnClick="Button4_Click"
                                                Text="返 回" /></FONT>&nbsp;</div> </td>
                            </tr>
                          
                        </table>
                        
           
                        
                    </td>
                    <td width="17" >
                        &nbsp;</td>
                </tr>
            </table>
          </td>
        </tr>
      </table></td>
  </tr>
</table>
<asp:TextBox ID="Number" runat="server"  style="DISPLAY: none"></asp:TextBox>

    </form>
</body>
</html>